Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

댓글 컴포넌트 구현 #45

Merged
merged 1 commit into from
Nov 4, 2023
Merged

Conversation

eeseung
Copy link
Member

@eeseung eeseung commented Nov 3, 2023

📑 이슈 번호

🚧 구현 내용

댓글 컴포넌트를 구현했습니다.

Comment 컴포넌트

LinkHub-FE_comment-component_light LinkHub-FE_comment-component_dark

🚨 특이 사항

CommentProps

interface CommentProps {
  commentId: string
  user: { id: string; name: string; profile: string }
  comment: string
  date: Date
  auth?: boolean // 본인 댓글 여부
  firstDepth?: boolean // 1depth 댓글 여부
  replyCount?: number // 답글 개수
  onEdit?: (commentId: string) => void // 수정
  onDelete?: (commentId: string) => void // 삭제
  onOpen?: (commentId: string) => void // 답글 열기
  onReply?: (commentId: string, userName: string) => void // 답글 달기
}
  • TODO: 댓글 작성 시간 몇 분 전 형식으로 표기

@eeseung eeseung added the ✨ Feature 기능 개발 label Nov 3, 2023
@eeseung eeseung added this to the 1차 스프린트 milestone Nov 3, 2023
@eeseung eeseung self-assigned this Nov 3, 2023
@eeseung eeseung linked an issue Nov 3, 2023 that may be closed by this pull request
1 task
Copy link
Contributor

@bomi8489 bomi8489 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

수고하셨습니당

@eeseung eeseung merged commit 557f93b into develop Nov 4, 2023
1 check passed
@eeseung eeseung deleted the feature/#32/component-comment branch November 4, 2023 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ Feature 기능 개발
Projects
None yet
Development

Successfully merging this pull request may close these issues.

댓글 컴포넌트 구현
2 participants